package com.lm.atomikos.mapper.order;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderMapper {
    @Insert("INSERT INTO t_order(product_id, count, status) VALUES(#{productId}, #{count}, 'NEW')")
    void insert(@Param("productId") String productId, @Param("count") int count);
}

